|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.SessionData
public class SessionData
In a BOAagent each component should be able to store data to be used in the next negotiation session. Unfortunately, the ANAC2013 implementation only allows us to store a single object. Therefore, this object packs the object of each of the three BOA components (bidding strategy, etc.) together as a single object.
| Constructor Summary | |
|---|---|
SessionData()
|
|
| Method Summary | |
|---|---|
void |
changesCommitted()
Sets that all changes have been processed. |
java.io.Serializable |
getData(ComponentsEnum type)
Returns the data stored by the given BOA component. |
boolean |
isChanged()
|
boolean |
isEmpty()
|
void |
setData(ComponentsEnum component,
java.io.Serializable data)
Method used to set the data to be saved by a BOA component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionData()
| Method Detail |
|---|
public java.io.Serializable getData(ComponentsEnum type)
type - of the BOA component.
public void setData(ComponentsEnum component,
java.io.Serializable data)
component - from which the data is to be saved.data - to be saved.public boolean isEmpty()
public boolean isChanged()
public void changesCommitted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||